package com.wfy.orchestra.dispatch


/**
 * @author : wangfengyuan
 * e-mail  : 446950883@qq.com
 * time    : 2025/3/20
 * desc    :
 * version : 1.0
 */
class TaskDslBuilder(private val taskGraph: ITaskGraph) {
    infix fun String.dependsOn(dependencies: List<String>) {
        taskGraph.addDependency(this, dependencies)
    }
}